/*重置 begin*/
html, body {
    padding: 0;
    margin: 0;
    font-size: 62.5%;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

input {
    vertical-align: middle;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0;
}

input[type=button] {
    -webkit-appearance: none;
    outline: none
}

input:active {
    outline: none;
}

input:focus {
    outline: none;
}

textarea {
    width: 90%;
    margin: 0 auto;
    background-color: #fafafa;
    border: solid 1px #e6eaef;
    resize: none;
}

ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

i {
    font-style: normal;
}

a {
    text-decoration: none;
}

p {
    margin-top: 1rem;
}

h1, h2, h3, h4, h5, h6 {
    padding: 0;
    margin: 0;
    font-weight: normal;;
}

button:active {
    border: none;
    outline: none;
}

/*重置 end*/

/*选项卡 begin*/
.tab-head {
    width: 100%;
    overflow: hidden;
    position: fixed;
    height: 3.5rem;
    border-bottom: solid 1px #e6eaef;
}

.tab-panel {
    padding-top: 3.5rem;
    padding-bottom: 1.5rem;
    height: auto;
    /*display: none;*/
    visibility: hidden;
}

.tab-panel.active {
    /*display: block;*/
    visibility: visible;
}

.tab-head .item {
    float: left;
    width: 33.33%;
    height: 3.5rem;
    line-height: 3.5rem;
    color: #bbb;
    font-size: 1.4rem;
    text-align: center;
    background: white;
    position: relative;
}

.tab-head .item.active {
    height: 3.4rem;
    color: #5e82fe;
    border-bottom: solid 1px #5e82fe
}

.tab-head .item.active:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    border-right: .5rem solid transparent;
    border-bottom: .5rem solid #fafafa;
    border-left: .5rem solid transparent;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

/*选项卡 end*/

/*消息框 begin*/
.msg-wrap {
    width: 80%;
    height: auto;
    overflow: hidden;
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 99;
}

.msg-wrap .msg-box {
    -webkit-border-radius: .8rem;
    -moz-border-radius: .8rem;
    border-radius: .8rem;
    background: white;
}

.msg-wrap .msg-head {
    width: 100%;
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    font-size: 1.4rem;
}

.msg-wrap .msg-body {
    width: 100%;
    padding: 2rem .5rem .5rem;
    text-align: center;
    font-size: 1.8rem;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    vertical-align: middle;
    position: relative;
}

.msg-wrap .msg-body .list-group {
    margin: -2rem -.5rem -.5rem;
}

.msg-wrap .msg-foot {
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.msg-wrap .msg-foot .msg-btn {
    display: inline-block;
    width: 40%;
    padding: 4% 0;
    font-size: 1.6rem;
    -webkit-border-radius: .5rem;
    border-radius: .5rem;
    margin: 1.5rem 5%;
    border: none;
}

.msg-wrap .msg-foot .msg-btn.msg-cancel {
    color: #7f7f7f;
    background: #f0f0f0;
}

.msg-wrap .msg-foot .msg-btn.msg-cancel:active {
    background: #cecece;
}

.msg-wrap .msg-foot .msg-btn.msg-submit {
    color: #fff;
    background: #5e82fe;
}

.msg-wrap .msg-foot .msg-btn.msg-submit:active {
    background: #5172d9;
}

.msg-wrap .msg-close {
    height: 4rem;
    position: relative;
    margin-top: 10%;
}

.msg-wrap .msg-close:before {
    content: 'X';
    width: 4rem;
    height: 4rem;
    line-height: 4rem;
    text-align: center;
    font-size: 1.6rem;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background: #ffd705;
}

/*消息框 end*/

/*主页样式 begin*/
.menu-panel {
    position: relative;
    width: 94%;
    margin: 1rem auto;
    background-color: white;
    border: solid 1px #e6eaef;
    padding: 1rem 0 0 0;
    overflow: hidden;
}

.menu_item {
    position: relative;
}

.menu_item sup {
    position: absolute;
    top: 10%;
    left: 65%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background-color: red;
    color: white;
}

.menu-panel i.line {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 1px;
    height: 5rem;
    border-right: solid 1px #e6eaef;
}

.dropdownmenu {
    position: absolute;
    display: none;
    z-index: 99;
    top: 4.5rem;
    left: 0;
    width: 100%;
    background: white;
    max-height: 24rem;
    overflow-y: scroll;
}

.dropdownmenu li {
    width: 90%;
    margin: 0 auto;
    border-bottom: solid 1px #e6eaef;
    font-size: 1.4rem;
    color: #666;
    height: 4.8rem;
    line-height: 4.8rem;
}

.dropdownmenu li:last-child {
    border: none
}

/*主页样式 end*/

/*添加模板页样式 begin*/
.mb-left {
    width: 8rem;
    background-color: #f4f4f4;
}

.mb-left .item {
    width: 100%;
    height: 6rem;
    display: table;
    table-layout: fixed;
}

.mb-left .item a {
    height: 100%;
    width: 100%;
    color: #666;
    font-size: 1.4rem;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.mb-left .item.cur a {
    color: #5e82fe;
    background-color: #fff;
    border-left: solid 6px #5e82fe
}

.mb-right {
    width: 100%;
    -webkit-box-flex: 1;
    overflow: hidden;
}

.mb-right .item {
    width: 100%;
    height: 4.8rem;
    background: white;
    display: table;
    table-layout: fixed;
    border-bottom: solid 1px #e6eaef;
}

.mb-right .item input {
    width: 100%;
    border: none;
    border-bottom: solid 1px #e6eaef;
    background-color: transparent;
    text-align: center;
    font-size: 1.4rem;
    color: #5e82fe;
}

.mb-right .item span {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-size: 1.4rem;
    color: #666;
}

.mb-right .item span.name {
    word-wrap: break-word;
    text-align: left;
    color: #1a1a1a;
    padding-left: .6rem;
    width: 40%;
}

.mb-right .item span.select .icon-ok-sign {
    display: none;
}

.mb-right .item.cur {
    background-color: #f5fcff;
}

.mb-right .item.cur span.select .icon-ok-sign {
    display: block;
}

/*添加模板页样式 end */

/*新增申购单样式 begin*/
table.danju {
    width: 100%;
    text-align: center;
    border: solid 1px #f0f0f0;
    border-collapse: collapse;
}

table.danju th {
    color: #999;
    font-size: 1.3rem;
    font-weight: normal;
    padding: .5rem 0;
    border-bottom: solid 1px #f0f0f0
}

table.danju td {
    /*color: #666;20160815去除*/
    font-size: 1.5rem;
    height: 4.8rem;
    border-bottom: solid 1px #f0f0f0;
    vertical-align: middle;
}

table.danju td.name {
    color: #1a1a1a;
}

.empty {
    border-left: solid 5px #d7e0fe;
}

.full {
    border-left: solid 5px #5e82fe;
}

.other {
    background-color: #f1ffea
}

.search-result {
    background-color: #ebf3ff;
}

table.danju input {
    width: 100%;
    border: none;
    border-bottom: solid 1px #e6eaef;
    background-color: transparent;
    text-align: center;
    font-size: 1.4rem;
    color: #5e82fe;
}

/*计数器*/
.count {
    position: absolute;
    font-size: 1.3rem;
    color: #999;
    right: 10%;
    bottom: 12%;
}

/*新增申购单样式 end*/

/*申购单历史 begin*/

.sgls-item {
    display: table;
    width: 100%;
    color: #1a1a1a;
    font-size: 1.4rem;
    padding: 0 1rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: white;
    border-top: solid 1px #e6eaef;
    border-bottom: solid 1px #e6eaef;
}

.sgls-item div {
    display: table-cell;
    vertical-align: middle;
}

.sgls-item p {
    overflow: hidden;
}

.sgls-item .title {
    color: #999;
}

.sgls-item .check {
    width: 10%;
}

.sgls-item .icon-ok {
    border: solid 2px #c6c6c6;
    color: #c6c6c6;
}

.sgls-item .icon-ok.active {
    border: solid 2px #5e82fe;
    color: #5e82fe;
}

.btn-chexiao, .btn-shenhe, .btn-fanshenhe {
    width: 49.5%;
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 0;
    background-color: white;
    border-top: solid 1px #e6eaef;
    text-align: center;
    color: #5e82fe;
}

.btn-fanshenhe {
    width: 100%;
}

/*申购单历史 end*/

/*公用样式(写在靠后的位置，可覆盖之前的样式) begin*/
.container {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    position: relative;
}

.container .header {
    display: table;
    width: 100%;
    height: 4.5rem;
    color: white;
    line-height: 4.5rem;
    background-color: #5e82fe;
    font-size: 1.7rem;
    padding: 0 .5rem 0 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.container .header a {
    color: white;
}

.container .header span {
    display: table-cell;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.search {
    position: relative;
    border-bottom: solid 1px #f0f0f0;
    display: table;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.search span {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: auto;
    padding: .5rem;
}

.search .icon-search {
    position: absolute;
    top: 50%;
    left: 6%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.search .search-input {
    width: 100%;
    height: 3rem;
    font-size: 1.4rem;
    margin: 0 auto;
    padding-left: 8%;
    -webkit-border-radius: .5rem;
    border-radius: .5rem;
    border: solid 1px #e6eaef;
    background-color: #f0f0f0
}

.search-content {
    display: none;
    position: fixed;
    top: 8.6rem;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: white;
    max-height: 20rem;
    overflow-y: auto;
}

.container .main {
    width: 100%;
    position: relative;
    -webkit-box-flex: 1;
    overflow: hidden;
    background-color: #f5f5f5;
}

.container .footer {
    width: 100%;
    overflow: hidden;
    color: #999;
    background-color: #ffffff;
    z-index: 199;
    border-top: solid 1px #e6eaef;
    /*padding: .5rem 0;*/
    font-size: 1.4rem;
}

.container .footer .nav span {
    width: 33.333%;
    height: 4.9rem;
    text-align: center;
    font-size: 1rem;
    float: left;
}

.h-flex {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: horizontal
}

.v-flex {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical
}

.bg-main {
    background-color: #5e82fe;
}

.bg-eaf4fe {
    background-color: #eaf4fe;
}

.bg-fa {
    background: #fafafa;
}

.bg-1a {
    background-color: #1a1a1a;
}

.bg-white {
    background-color: white !important;
}

.bg-red {
    background-color: #ffe7e6;
}

.text-main {
    color: #5e82fe;
}

.text-1a {
    color: #1a1a1a;
}

.text-66 {
    color: #666;
}

.text-99 {
    color: #999
}

.text-red {
    color: #f43737
}

.text-green {
    color: #18d6b2;
}

.text-white {
    color: white;
}

.font24 {
    font-size: 1.2rem;
}

.font26 {
    font-size: 1.3rem;
}

.font28 {
    font-size: 1.4rem;
}

.font32 {
    font-size: 1.6rem !important;
}

.font34 {
    font-size: 1.7rem;
}

.font36 {
    font-size: 1.8rem;
}

.font50 {
    font-size: 2.5rem;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.container-flex {
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.hidden {
    display: none !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-nowrap {
    white-space: nowrap;
}

.text-ellapse {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mt1 {
    margin-top: 1rem;
}

.mt2 {
    margin-top: 2rem
}

.pa1 {
    padding: 1rem;
}

.ptb1 {
    padding: 1rem 0;
}

.plr1 {
    padding: 0 1rem;
}

.strong {
    font-weight: bold;
}

.block {
    display: block;
}

.no-border {
    border: none;
}

.border-tb {
    border-top: solid 1px #f0f0f0;
    border-bottom: solid 1px #f0f0f0;
}

.btn {
    width: 50%;
    height: 4.9rem;
    font-size: 1.6rem;
    line-height: 4.9rem;
    text-align: center;
    border: none;
    display: inline-block;
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.btn-block {
    width: 100%;
}

.btn.btn-cancel {
    color: white;
    background-color: #999;
}

.btn-beizhu {
    border-right: solid 1px #e6eaef;
    background-color: white;
    color: #5e82fe;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.btn-fencang {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4.9rem;
    line-height: 4.9rem;
    font-size: 1.6rem;
}

.btn-submit {
    text-align: center;
    color: #5e82fe;
    background-color: white;
}

@media screen and (max-width: 320px) {
    .btn {
        height: 3.5rem;
        font-size: 1.3rem;
        line-height: 3.5rem;
    }
}

.mask {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: black;
    opacity: 0.6;
    /*display: none;*/
}

.item-header {
    width: 100%;
    height: 2.5rem;
    line-height: 2.5rem;
    color: #000;
    font-size: 1.6rem;
    padding-left: 1rem;
    background: #f0f0f0;
    border-bottom: solid 1px #fafafa;
    overflow: hidden;
    font-weight: bold;
}

.list-group {
    width: 100%;
}

.list-group li {
    width: 95%;
    height: 4rem;
    line-height: 4rem;
    margin: 0 auto;
    color: #666;
    font-size: 1.6rem;
    /*padding: .8rem 0;*/
    border-bottom: solid 1px #e6eaef;
    overflow: hidden;
}

.list-group li a {
    display: block;
    color: #666;
    height: 100%;
    width: 100%;
}

.list-group li:last-child {
    border-bottom: none;
}

.table {
    width: 100%;
    padding: .5rem 0;
    border-bottom: solid 1px #e6eaef;
    overflow: hidden;
    text-align: center;
}

.span1 {
    width: 10%
}

.span2 {
    width: 20%
}

.span3 {
    width: 30%;
}

.span4 {
    width: 40%;
}

.span5 {
    width: 50%;
}

.span6 {
    width: 60%;
}

.span7 {
    width: 70%;
}

.span8 {
    width: 80%
}

.span9 {
    width: 90%
}

.span10 {
    width: 100%;
}

.span1, .span2, .span3, .span4, .span5, .span6, .span7, .span8, .span9, .span10 {
    float: left;
}

.icon-yan-ju {
    width: auto;
    height: auto;
    color: white;
    padding: 0.6rem .8rem;
    background-color: #5e82fe;
    -webkit-border-radius: .5rem;
    -moz-border-radius: .5rem;
    border-radius: .5rem;
    border: none;
    border-bottom: solid 3px #3852e0;
    margin-left: .3rem;
}

.icon-yan-ju:active {
    background-color: #3852e0;
}

.empty-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.fast-tips {
    width: auto;
    height: auto;
    padding: 1rem .5rem;
    color: white;
    background-color: rgba(0, 0, 0, .8);
    display: none;
    -webkit-border-radius: .2rem;
    -moz-border-radius: .2rem;
    border-radius: .2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/*公用样式 end*/

/*滑动加载 begin*/
#wrapper, #wrapper-wfc, #wrapper-yfc, .iscroll-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%
}

#pullDown, #pullUp, .pullDown, .pullUp {
    padding: 0 10px;
    height: 30px;
    line-height: 30px;
    color: #888;
    text-align: center;
    font-size: 1.4rem;
}

/*滑动加载 end*/